package com.jhgsys.internal.accident.service;

import com.jhgsys.internal.accident.dto.AccidentSurveyTeamDto;
import com.jhgsys.internal.accident.entity.AccidentSurveyTeam;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author zhangwei
 * @date 2024-09-11 15:21:32
 */
public interface IAccidentSurveyTeamService extends IService<AccidentSurveyTeam> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-09-11 15:21:32
     * @param request QueryRequest
     * @param accidentSurveyTeam accidentSurveyTeam
     * @return IPage<AccidentSurveyTeam>
     */
    IPage<AccidentSurveyTeamDto> findAccidentSurveyTeamPage(QueryRequest request, AccidentSurveyTeamDto accidentSurveyTeamDto);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-09-11 15:21:32
     * @param accidentSurveyTeam accidentSurveyTeam
     * @return List<AccidentSurveyTeam>
     */
    List<AccidentSurveyTeam> findAccidentSurveyTeamList(AccidentSurveyTeam accidentSurveyTeam);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-09-11 15:21:32
    * @param id
    * @return AccidentSurveyTeamDto
    */
    AccidentSurveyTeamDto findAccidentSurveyTeamById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-09-11 15:21:32
     * @param accidentSurveyTeamDto accidentSurveyTeamDto
     */
    void createAccidentSurveyTeam(AccidentSurveyTeamDto accidentSurveyTeamDto);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-09-11 15:21:32
     * @param accidentSurveyTeamDto accidentSurveyTeamDto
     */
    void updateAccidentSurveyTeam(AccidentSurveyTeamDto accidentSurveyTeamDto);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-09-11 15:21:32
     * @param accidentSurveyTeam accidentSurveyTeam
     * @param accidentSurveyTeamIds accidentSurveyTeamIds
     */
    void deleteAccidentSurveyTeam(AccidentSurveyTeam accidentSurveyTeam,String accidentSurveyTeamIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-09-11 15:21:32
    * @param accidentSurveyTeamIds accidentSurveyTeamIds
    */
    void physicallyDeleteAccidentSurveyTeam(String accidentSurveyTeamIds);
}
